//
//  PeopleSpec.m
//  SideDemo
//
//  Created by zsp on 16/5/17.
//  Copyright 2016年 zsp. All rights reserved.
//

#import <Kiwi/Kiwi.h>
#import "People.h"


SPEC_BEGIN(PeopleSpec)

describe(@"People", ^{
    context(@"mock", ^{
        
        it(@"return a name", ^{
            id peopleMock=[People mock];
            [[peopleMock should]receive:@selector(name) andReturn:@"Tom"];
            NSString *name=[peopleMock name];
            [[name should]equal:@"Tom"];
        });
        
        it(@"mock stub", ^{
//            id weatherForecasterMock=[WeatherForecaster mock];
        });
    });
});

SPEC_END
